﻿namespace WMS6.Web.BaseInfoDetailServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.Diagnostics;
    using System.Runtime.Serialization;

    [Serializable, DebuggerStepThrough, DataContract(Name="SysCodeDetailQueryEntity", Namespace="http://schemas.datacontract.org/2004/07/WMS6.QueryEntity"), GeneratedCode("System.Runtime.Serialization", "3.0.0.0")]
    public class SysCodeDetailQueryEntity : BaseQuery
    {
        [OptionalField]
        private string CreatedByField;
        [OptionalField]
        private string CreatedDateField;
        [OptionalField]
        private string DescriptionField;
        [OptionalField]
        private string IsActiveField;
        [OptionalField]
        private string RemarkField;
        [OptionalField]
        private string RowIDField;
        [OptionalField]
        private string SeqNoField;
        [OptionalField]
        private string SysCodeField;
        [OptionalField]
        private string SysCodeTypeField;
        [OptionalField]
        private string SystemCreatedField;
        [OptionalField]
        private string UpdatedByField;
        [OptionalField]
        private string UpdatedDateField;
        [OptionalField]
        private string WhIDField;

        [DataMember]
        public string CreatedBy
        {
            get
            {
                return this.CreatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedByField, value))
                {
                    this.CreatedByField = value;
                    base.RaisePropertyChanged("CreatedBy");
                }
            }
        }

        [DataMember]
        public string CreatedDate
        {
            get
            {
                return this.CreatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedDateField, value))
                {
                    this.CreatedDateField = value;
                    base.RaisePropertyChanged("CreatedDate");
                }
            }
        }

        [DataMember]
        public string Description
        {
            get
            {
                return this.DescriptionField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DescriptionField, value))
                {
                    this.DescriptionField = value;
                    base.RaisePropertyChanged("Description");
                }
            }
        }

        [DataMember]
        public string IsActive
        {
            get
            {
                return this.IsActiveField;
            }
            set
            {
                if (!object.ReferenceEquals(this.IsActiveField, value))
                {
                    this.IsActiveField = value;
                    base.RaisePropertyChanged("IsActive");
                }
            }
        }

        [DataMember]
        public string Remark
        {
            get
            {
                return this.RemarkField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RemarkField, value))
                {
                    this.RemarkField = value;
                    base.RaisePropertyChanged("Remark");
                }
            }
        }

        [DataMember]
        public string RowID
        {
            get
            {
                return this.RowIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RowIDField, value))
                {
                    this.RowIDField = value;
                    base.RaisePropertyChanged("RowID");
                }
            }
        }

        [DataMember]
        public string SeqNo
        {
            get
            {
                return this.SeqNoField;
            }
            set
            {
                if (!object.ReferenceEquals(this.SeqNoField, value))
                {
                    this.SeqNoField = value;
                    base.RaisePropertyChanged("SeqNo");
                }
            }
        }

        [DataMember]
        public string SysCode
        {
            get
            {
                return this.SysCodeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.SysCodeField, value))
                {
                    this.SysCodeField = value;
                    base.RaisePropertyChanged("SysCode");
                }
            }
        }

        [DataMember]
        public string SysCodeType
        {
            get
            {
                return this.SysCodeTypeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.SysCodeTypeField, value))
                {
                    this.SysCodeTypeField = value;
                    base.RaisePropertyChanged("SysCodeType");
                }
            }
        }

        [DataMember]
        public string SystemCreated
        {
            get
            {
                return this.SystemCreatedField;
            }
            set
            {
                if (!object.ReferenceEquals(this.SystemCreatedField, value))
                {
                    this.SystemCreatedField = value;
                    base.RaisePropertyChanged("SystemCreated");
                }
            }
        }

        [DataMember]
        public string UpdatedBy
        {
            get
            {
                return this.UpdatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedByField, value))
                {
                    this.UpdatedByField = value;
                    base.RaisePropertyChanged("UpdatedBy");
                }
            }
        }

        [DataMember]
        public string UpdatedDate
        {
            get
            {
                return this.UpdatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedDateField, value))
                {
                    this.UpdatedDateField = value;
                    base.RaisePropertyChanged("UpdatedDate");
                }
            }
        }

        [DataMember]
        public string WhID
        {
            get
            {
                return this.WhIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.WhIDField, value))
                {
                    this.WhIDField = value;
                    base.RaisePropertyChanged("WhID");
                }
            }
        }
    }
}

